import numpy as np
import torch
import random
import math
import torch.nn.functional as F
import matplotlib.pyplot as plt
import re
import torch.nn as nn
import copy
import warnings
import copy

a = [
    [1, 2, 3],
    [1, 3, 1],
    [1, 4, 4],
    [1, 1, 2],
    [1, 5, 2],
]
# 按照第三列降序
a = [
    [1, 4, 4],
    [1, 2, 3],
    [1, 1, 2],
    [1, 5, 2],
    [1, 3, 1],
]
# 第二列去重，升序
a = [
    [1, 1, 2],
    [1, 2, 3],
    [1, 3, 1],
    [1, 4, 4],
    [1, 5, 2],
]
# 第一种结果：
# 直接按照第一列去重，升序
a = [
    [1, 1, 2],
]
# 第二种结果
# 先按照第三列降序
a = [
    [1, 4, 4],
    [1, 2, 3],
    [1, 1, 2],
    [1, 5, 2],
    [1, 3, 1],
]
# 在按照第一列去重，升序
a = [
    [1, 4, 4],
]
# 所以比较这两次的结果，是不一样的
